<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>玉灵 QQ:7031633 Email:webrx@126.com</title>
    <meta name="keywords" content="keywords">
    <meta name="description" content="description">
</head>
<body>
<h1>Hello, world!</h1>
<script>
    //let str = '3*3-2'
    //console.log(str)
    //console.log(eval(str))
    //console.log(eval('12+3+4-56+7+89'))

    let a = ['', '+', '-']
    let j = 0
    let ok = new Array(11)
    while (true) {
        let s = '1'
        for (let i = 2; i <= 9; i++) {
            s += `${a[Math.round(Math.random() * 2)]}${i}`
        }

        if(eval(s) === 100 && !ok.includes(s)){
            ok[j] = s
            console.log(`ok[${j}](${ok[j]}) = 100`)
            j++
           }

        if(j>=11) break
    }

</script>
</body>
</html>
